<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class PropertyType</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class PropertyType</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The property types supported by the phpCR standard.</p>
<p class="description"><p>This interface defines following property types:  <ul><li><a href="../phpContentRepository/PropertyType.html#constSTRING">PropertyType::STRING</a></li><li><a href="../phpContentRepository/PropertyType.html#constBINARY">PropertyType::BINARY</a></li><li><a href="../phpContentRepository/PropertyType.html#constLONG">PropertyType::LONG</a></li><li><a href="../phpContentRepository/PropertyType.html#constDOUBLE">PropertyType::DOUBLE</a></li><li><a href="../phpContentRepository/PropertyType.html#constDATE">PropertyType::DATE</a></li><li><a href="../phpContentRepository/PropertyType.html#constBOOLEAN">PropertyType::BOOLEAN</a></li><li><a href="../phpContentRepository/PropertyType.html#constSOFTLINK">PropertyType::SOFTLINK</a></li><li><a href="../phpContentRepository/PropertyType.html#constREFERENCE">PropertyType::REFERENCE</a></li></ul></p><p><strong>PHP Note</strong>: Some of these values do not translate from Java into  PHP.  Example: Java long = PHP int; Java double = PHP float.  In order to  emulate the JCR standard, however, I have left them.</p></p>
	<ul class="tags">
				<li><span class="field">copyright:</span> Copyright &amp;copy; 2004-2005, Domain51</li>
				<li><span class="field">author:</span> PHP - Travis Swicegood &lt;<a href="mailto:travis@domain51.net">travis@domain51.net</a>&gt;</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_PropertyType_class_php.html">/PropertyType.class.php</a> (line <span class="field">50</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BINARY" title="details" class="const-name">BINARY</a> = 					<span class="var-type"> 2</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#BOOLEAN" title="details" class="const-name">BOOLEAN</a> = 					<span class="var-type"> 6</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#DATE" title="details" class="const-name">DATE</a> = 					<span class="var-type"> 5</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#DOUBLE" title="details" class="const-name">DOUBLE</a> = 					<span class="var-type"> self::DOUBLE</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#FLOAT" title="details" class="const-name">FLOAT</a> = 					<span class="var-type"> 4</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#INT" title="details" class="const-name">INT</a> = 					<span class="var-type"> 3</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#LONG" title="details" class="const-name">LONG</a> = 					<span class="var-type"> self::INT</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#REFERENCE" title="details" class="const-name">REFERENCE</a> = 					<span class="var-type"> 8</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#SOFTLINK" title="details" class="const-name">SOFTLINK</a> = 					<span class="var-type"> 7</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#STRING" title="details" class="const-name">STRING</a> = 					<span class="var-type"> 1</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_BINARY" title="details" class="const-name">TYPENAME_BINARY</a> = 					<span class="var-type"> &quot;Binary&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_BOOLEAN" title="details" class="const-name">TYPENAME_BOOLEAN</a> = 					<span class="var-type"> &quot;Boolean&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_DATE" title="details" class="const-name">TYPENAME_DATE</a> = 					<span class="var-type"> &quot;Date&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_DOUBLE" title="details" class="const-name">TYPENAME_DOUBLE</a> = 					<span class="var-type"> self::TYPENAME_FLOAT</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_FLOAT" title="details" class="const-name">TYPENAME_FLOAT</a> = 					<span class="var-type"> &quot;Float&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_INT" title="details" class="const-name">TYPENAME_INT</a> = 					<span class="var-type"> &quot;Integer&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_LONG" title="details" class="const-name">TYPENAME_LONG</a> = 					<span class="var-type"> self::TYPENAME_INT</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_REFERENCE" title="details" class="const-name">TYPENAME_REFERENCE</a> = 					<span class="var-type"> &quot;Reference&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_SOFTLINK" title="details" class="const-name">TYPENAME_SOFTLINK</a> = 					<span class="var-type"> &quot;SoftLink&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPENAME_STRING" title="details" class="const-name">TYPENAME_STRING</a> = 					<span class="var-type"> &quot;String&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#UNDEFINED" title="details" class="const-name">UNDEFINED</a> = 					<span class="var-type"> 0</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
									<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
								
				<div class="method-definition">
											<span class="method-result">the</span>
										<a href="#nameFromValue" title="details" class="method-name">nameFromValue</a>
											(<span class="var-type">type</span>&nbsp;<span class="var-name">$type</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#valueFromName" title="details" class="method-name">valueFromName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
							</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodnameFromValue" id="nameFromValue"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">nameFromValue</span> (line <span class="line-number">94</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the name of the specified type,  as used in serialization.</p>
	<ul class="tags">
				<li><span class="field">return:</span> name of the specified type</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">static:</span> </li>
				<li><span class="field">throws:</span> IllegalArgumentException if type  is not a valid property type.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">the</span>
		<span class="method-name">
			nameFromValue
		</span>
					(<span class="var-type">type</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$type</span><span class="var-description">: the property type</span>			</li>
				</ul>
		
		
	</div>
<a name="methodvalueFromName" id="valueFromName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">valueFromName</span> (line <span class="line-number">151</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the numeric constant value of the type with the specified name.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The numeric constant value</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">static:</span> </li>
				<li><span class="field">throws:</span> IllegalArgumentException    If $name is not a valid property type name.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			valueFromName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The name of the property type</span>			</li>
				</ul>
		
		
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constBINARY" id="BINARY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BINARY</span>
			 = <span class="const-default"> 2</span>
			(line <span class="line-number">56</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constBOOLEAN" id="BOOLEAN"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">BOOLEAN</span>
			 = <span class="const-default"> 6</span>
			(line <span class="line-number">62</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constDATE" id="DATE"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">DATE</span>
			 = <span class="const-default"> 5</span>
			(line <span class="line-number">61</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constDOUBLE" id="DOUBLE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">DOUBLE</span>
			 = <span class="const-default"> self::DOUBLE</span>
			(line <span class="line-number">60</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constFLOAT" id="FLOAT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">FLOAT</span>
			 = <span class="const-default"> 4</span>
			(line <span class="line-number">59</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constINT" id="INT"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">INT</span>
			 = <span class="const-default"> 3</span>
			(line <span class="line-number">57</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constLONG" id="LONG"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">LONG</span>
			 = <span class="const-default"> self::INT</span>
			(line <span class="line-number">58</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constREFERENCE" id="REFERENCE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">REFERENCE</span>
			 = <span class="const-default"> 8</span>
			(line <span class="line-number">64</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constSOFTLINK" id="SOFTLINK"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">SOFTLINK</span>
			 = <span class="const-default"> 7</span>
			(line <span class="line-number">63</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constSTRING" id="STRING"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">STRING</span>
			 = <span class="const-default"> 1</span>
			(line <span class="line-number">55</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The supported property types.</p>
	
	
</div>
<a name="constTYPENAME_BINARY" id="TYPENAME_BINARY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_BINARY</span>
			 = <span class="const-default"> &quot;Binary&quot;</span>
			(line <span class="line-number">76</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_BOOLEAN" id="TYPENAME_BOOLEAN"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_BOOLEAN</span>
			 = <span class="const-default"> &quot;Boolean&quot;</span>
			(line <span class="line-number">82</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_DATE" id="TYPENAME_DATE"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_DATE</span>
			 = <span class="const-default"> &quot;Date&quot;</span>
			(line <span class="line-number">81</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_DOUBLE" id="TYPENAME_DOUBLE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_DOUBLE</span>
			 = <span class="const-default"> self::TYPENAME_FLOAT</span>
			(line <span class="line-number">80</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_FLOAT" id="TYPENAME_FLOAT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_FLOAT</span>
			 = <span class="const-default"> &quot;Float&quot;</span>
			(line <span class="line-number">79</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_INT" id="TYPENAME_INT"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_INT</span>
			 = <span class="const-default"> &quot;Integer&quot;</span>
			(line <span class="line-number">77</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_LONG" id="TYPENAME_LONG"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_LONG</span>
			 = <span class="const-default"> self::TYPENAME_INT</span>
			(line <span class="line-number">78</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_REFERENCE" id="TYPENAME_REFERENCE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_REFERENCE</span>
			 = <span class="const-default"> &quot;Reference&quot;</span>
			(line <span class="line-number">84</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_SOFTLINK" id="TYPENAME_SOFTLINK"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_SOFTLINK</span>
			 = <span class="const-default"> &quot;SoftLink&quot;</span>
			(line <span class="line-number">83</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constTYPENAME_STRING" id="TYPENAME_STRING"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPENAME_STRING</span>
			 = <span class="const-default"> &quot;String&quot;</span>
			(line <span class="line-number">75</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The names of the supported property types,  as used in serialization.</p>
	
	
</div>
<a name="constUNDEFINED" id="UNDEFINED"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">UNDEFINED</span>
			 = <span class="const-default"> 0</span>
			(line <span class="line-number">69</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Undefined type.</p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Fri, 31 Dec 2004 10:15:20 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>